<script setup lang="ts">
import CamerPlayer from '@/components/CameraPlayer.vue'
import { cameraUrl } from '@/shared'

/**
 * 播放器实例
 */
// const cameraRef = ref<CameraPlayerInstance>()
</script>

<template>
  <div class="flex-1 relative">
    <CamerPlayer
      class="absolute top-0 left-0 h-full w-full object-fill"
      ref="cameraRef"
      :url="cameraUrl"
    ></CamerPlayer>
  </div>
</template>
